// 引入 request 方法，假设 request 方法已经定义在某个工具文件中
import request from '/@/utils/request';

// 定义 API 路径枚举
enum Api {
    SysServerAssemblyList = '/sysServer/assemblyList',
    SysServerServerBase = '/sysServer/serverBase',
    SysServerServerDisk = '/sysServer/serverDisk',
    SysServerServerUsed = '/sysServer/serverUsed',
}

// 定义 API 方法
export const apiSysServerAssemblyListGet = () =>
    request({
        url: Api.SysServerAssemblyList,
        method: 'get',
    });

export const apiSysServerServerBaseGet = () =>
    request({
        url: Api.SysServerServerBase,
        method: 'get',
    });

export const apiSysServerServerDiskGet = () =>
    request({
        url: Api.SysServerServerDisk,
        method: 'get',
    });

export const apiSysServerServerUsedGet = () =>
    request({
        url: Api.SysServerServerUsed,
        method: 'get',
    });